package com.xique.park.bean.request.web.garageLaneDev.subdev;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 新增车库保存request
 */
@Data
public class AddSubDevRequest {

    @NotBlank(message = "类型不能为空")
    private String type;

    private String name;

    @NotNull(message = "所属通道不能为空")
    private Long laneId;

    private String laneName;

    /**设备型号*/
    private String model;
    /**设备序列号，副相机使用*/
    private String devCode;

    @NotBlank(message = "IP不能为空")
    private String ip;

    private String port;

    private String status;

    private Long sort;

    /**ETC支付通道*/
    private String laneNo;

    /**ETC密钥*/
    private String secretKey;

    /**是否测试etc*/
    private Boolean etcTest;
}
